|
|
 |
|
|
|
|
3. What is the most common method you'll use in the Access object library? |
|
|
|
 |
|
|
|
|
The most common method in the Access object library you'll use is DoCmd. |
|
|
|
 |
|
|
|
|
4. What drives the Crystal Reports control? |
|
|
|
 |
|
|
|
|
Your Crystal Reports control is driven by its Crystal Report Engine. |
|
|
|
 |
|
|
|
|
5. What are the most popular Report Engine printing operations? |
|
|
|
 |
|
|
|
|
The most popular Report Engine printing operations include a single menu command that produces a single report, a dialog box with a list of several options for printing reports, or a separate component that your application uses. |
|
|
|
 |
|
|
|
|
6. What is the chief benefit of the ReportScheduler class? |
|
|
|
 |
|
|
|
|
Scheduling reports. Scheduling reports to be printed once at some future date and time or cyclically is not as involved as giving users ad hoc reporting abilities. It involves capturing the date and time from the user, saving it to a database, the Registry, or a text file, and continuously checking for the designated date and/or time. After the date and time have arrived, print the report. For this task, it is good to have a controller class called ReportScheduler and a form controlled by this class that has a timer control. |
|
|
|
 |
|
|
|
|
7. How does the Timer control and the ReportScheduler class members help the overall ReportScheduler class fulfill its responsibilities? |
|
|
|
 |
|
|
|
|
The private properties, ReportDate and ReportTime, respectively, contain the date and time the report is to be printed. The property, theForm, is a reference to the form, frmScheduledReports, which has a Timer control, a list box, or grid control to inform the user of the scheduled reports, and a command button, cmdCancelReport, that allows a user to cancel a scheduled report. The user would have to select a report first. The property, theTimer, is a reference to the Timer control on the form. The WithEvents keyword allows you to maintain the code for the timer's single event, Timer, within the class instead of in the form. |
|
|
|
 |
|
|
|
|
1. What are the three kinds of file management discussed in this chapter? |
|
|
|
 |
|
|
|
|
Random File Management, Sequential File Management, Binary File Management. |
|
|
|
 |
|
|
|
|
2. What is the purpose of the Get statement for random access files? |
|
|
|
 |
|
|
|
|
The Get statement uses iFileNumber to open a file and assign it the number contained in the variable. |
|
|
|
|
|